home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-19
/
pkey12_1.zip
/
CTL.LSP
< prev
next >
Wrap
Text File
|
1992-09-13
|
397b
|
13 lines
;move objects to a new layer
;
;
(defun c:ctl()
(princ "\nPick an object on the layer to Copy.")
(setq ss (ssget))
(setq ul1(getstring "\nLayer to copy entities to : "))
(prompt "Copying to layer.....")(princ ul1)
(command "copy" ss "" "0,0" "0,0")
(command "CHANGE" ss "" "P" "LA" ul1 "")
(princ))
(princ "\nCopies selected entities to a new layer.")
(princ "\nType CTL to execute.")